package com.todod.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.todod.model.ConfigMenu;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author sxy
 * @date 2025-05-16
 */
public interface IConfigMenuService extends IService<ConfigMenu> {


    List<ConfigMenu> getListByUserIdAndType(Long userId, Long xmId);

    List<ConfigMenu> getListByUserIdAndTypeAndParentId(Long userId, Long xmId, Long parentId);

    List<ConfigMenu> getListByXmId(Long xiangmuId);

    void saveData(Long userId, ConfigMenu configMenu);

    void editData(Long userId, ConfigMenu configMenu);

    Object getInfo(Long code);

}
